//Room.cpp
/*
Room class
Created by: Taryn Green & Chris Groce
Updated: 10/8/2013
*/

#include "Room.h"
using namespace std;

Room::Room()		//Temporary fix
{
	height = 7.0f;
	width = 7.0f;
	depth = 7.0f;
}

Room::Room(float size)
{
	height = size;
	width = size;
	depth = size;

}

Room::Room(float h, float w, float d)
{
	height = h;
	width = w;
	depth = d;

}
float Room:: getHeight() const
{
	return height;
}
float Room:: getWidth() const
{
	return width;
}
float Room:: getDepth() const
{
	return depth;
}

float Room::getXPos() const
{
	return xPos;
}

float Room::getYPos() const
{
	return yPos;
}

float Room::getZPos() const
{
	return zPos;
}

void Room::setHeight(float h)
{
	height = h;
}
void Room::setWidth(float w)
{
	width = w;
}
void Room::setDepth(float d)
{
	depth = d;
}

void Room::setXPos(float x) {
	xPos= x;
}

void Room::setYPos(float y) {
	yPos= y;
}

void Room::setZPos(float z) {
	zPos= z;
}

Room Room::operator=(Room const & r) const
{
	Room newRoom(r.getHeight(), r.getWidth(), r.getDepth());
	return newRoom;
}
